package com.lagou.order.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lagou.common.pojo.PayOrder;

public interface OrderService {

    /**
     * 根据id查询订单
     * @param id
     * @return
     */
    PayOrder queryOrderById(Integer id);

    /**
     * 多条件分页查询
     * @param page
     * @param queryWrapper
     * @return
     */
    Page<PayOrder> queryByPage(Page<PayOrder> page, QueryWrapper<PayOrder> queryWrapper);
}
